package com.travel.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;

public interface MinioService {
    String upload(MultipartFile file, String prefix);

    String upload(MultipartFile file, String bucketName, String prefix);

    String uploadBytes(InputStream file, String contentType, String bucketName, String prefix);

    void download(String urlString, HttpServletResponse response);
}
